package com.exception;




public class InvalidParameterSubError extends SubError {

    private static final String CODE_PREFIX = CODE_PREFIX_EXTERNAL;

    private static final String CODE_SUFFIX = "invalid-parameter:";

    public InvalidParameterSubError(String parameter) {
    	this.code = CODE_PREFIX + CODE_SUFFIX + parameter;
    	this.message = "参数"+parameter+"无效，格式不对、非法值、越界等";
    }
    
    public InvalidParameterSubError(String parameter, String message) {
    	this.code = CODE_PREFIX + CODE_SUFFIX + parameter;
    	this.message = message;
    }
}

